package cn.zjq.one;

public class Text {
    public static void main(String[] args) {
        //创建学生对象
        Student st1=new Student();
        try{
            st1.setAge(208);
            st1.printlnfor();
        }catch(IllegleSageException e){
            e.printStackTrace();
        }
        System.out.println("*****************************************");
        try{
            st1.setNo("2019513");
            st1.printlnfor();
        }catch(IllegleSnoException e){
            e.printStackTrace();
        }
    }
}
